package cn.xhy.module.purchase.controller.admin.materialdemand.vo;

import cn.xhy.module.purchase.dal.dataobject.materialdemand.ProjectOrderDO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;

import cn.xhy.module.purchase.dal.dataobject.materialdemand.OfficeOrderDO;

@Schema(description = "管理后台 - 单据新增/修改 Request VO")
@Data
public class MaterialDemandSaveReqVO {
    @Schema(description = "单据id", required = true, example = "1024")
    private Long id;
    @Schema(description = "单据编号", required = true, example = "1024")
    private String documentNumber;
    @Schema(description = "类型（1-项目，3办公室，2零星，4销售，5采购）", example = "2")
    private String type;
    /**
     * 单据日期
     */

    private Date documentDate;
    @Schema(description = "归属项目id")
    private String belongingProject;

    @Schema(description = "办公申请单列表")
    private List<OfficeOrderDO> officeOrders;

    @Schema(description = "审核状态", required = true, example = "1024")
    private String auditStatus;

    @Schema(description = "项目物资申请单列表")
    private List<ProjectOrderDO> projectOrders;

}
